<?xml version="1.0"?>
<component name="org.nuxeo.ecm.user.center.dashboard.opensocial.actions.override">

  <require>org.nuxeo.ecm.user.center.dashboard.opensocial.actions</require>

  <extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <action id="Dashboard" label="user.center.dashboard" link="/user_center_fragment.xhtml" order="10">
      <category>USER_CENTER</category>
      <properties>
        <property name="ajaxSupport">false</property>
      </properties>
    </action>

    <action id="DashboardMain" label="" link="/incl/dashboard/user_opensocial_dashboard.xhtml" order="10" type="home_rest_document_link">
      <category>Dashboard_sub_tab</category>
      <filter-id>notForMSIE7</filter-id>
      <properties>
        <property name="ajaxSupport">false</property>
      </properties>
    </action>

    <action id="DashboardMain_MSIE7" label="" link="/incl/dashboard/user_jsf_dashboard.xhtml" order="10" type="home_rest_document_link">
      <category>Dashboard_sub_tab</category>
      <filter-id>fallBackForMSIE7</filter-id>
    </action>

    <action id="DashboardManagement" label="admcommand.DashboardManagement" link="/incl/dashboard/dashboard_management.xhtml" order="70" type="admin_rest_document_link">
      <category>NUXEO_ADMIN</category>
      <filter-id>dashboardManagementAccess</filter-id>
      <properties>
        <property name="ajaxSupport">false</property>
      </properties>
    </action>

    <action id="DefaultDashboardManagement" label="tab.dashboard.management.default" link="/incl/dashboard/default_dashboard_management.xhtml" order="10" type="admin_rest_document_link">
      <category>DashboardManagement_sub_tab</category>
      <filter-id>dashboardManagementAccess</filter-id>
      <properties>
        <property name="ajaxSupport">false</property>
      </properties>
    </action>

    <action id="AnonymousDashboardManagement" label="tab.dashboard.management.anonymous" link="/incl/dashboard/anonymous_dashboard_management.xhtml" order="20" type="admin_rest_document_link">
      <category>DashboardManagement_sub_tab</category>
      <filter-id>only_for_manager</filter-id>
      <filter-id>isAnonymousUserDefined</filter-id>
      <properties>
        <property name="ajaxSupport">false</property>
      </properties>
    </action>

    <action id="ExternalGadgets" type="admin_rest_document_link">
      <category>DashboardManagement_sub_tab</category>
    </action>

  </extension>

</component>
